<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>退出成功</title>
    <style>
        body {
            background-color: #f0f2f5;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: Arial, sans-serif;
        }
        .success-container {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
            width: 400px;
        }
        .success-message {
            color: #28a745;
            margin-bottom: 1.5rem;
        }
        .login-link {
            color: #1877f2;
            text-decoration: none;
        }
        .login-link:hover {
            text-decoration: underline;
        }
    </style>
    <!-- 3秒后自动跳转到登录页 -->
    <meta th:if="${#strings.isEmpty(param.logout)}" http-equiv="refresh" content="3;url=/login">
</head>
<body>
<div class="success-container">
    <div class="success-message">
        <h2>🎉 您已成功退出！</h2>
    </div>
    <p>正在跳转到登录页... 或直接点击 <a class="login-link" th:href="@{/login}">重新登录</a></p>
</div>
</body>
</html>